package com.atguigu.gulimall.seckill;

import org.junit.Test;

import java.text.SimpleDateFormat;
import java.util.Date;

public class Demo {

    @Test
    public void contextLoads() {
        //1634541654542
        Date date = new Date(1634540400000L);
        System.out.println(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(date));
    }
}
